package com.hmall.common.clients;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import com.hmall.common.pojo.Address;

/**
 * hm-mall
 * 2024/11/16 9:09
 * UserClient By 1mZ
 */
@FeignClient(name = "userservice")
public interface UserClient {
    @GetMapping("address/{id}")
    Address findAddressById(@PathVariable("id") Long id);
}
